package com.banzhi.shop.entity.GoodsDetails;

import java.util.List;

/**
 * Created by HT on 2017/7/20.
 */

public class Guige {

    /**
     * code : 0
     * msg : 操作成功
     * data : {"options":[{"id":1522,"title":"紫色+165/S","productprice":"298.00","marketprice":"198.00","stock":12},{"id":1532,"title":"黑色+175/L","productprice":"298.00","marketprice":"198.00","stock":13},{"id":1531,"title":"黑色+170/M","productprice":"298.00","marketprice":"198.00","stock":19},{"id":1530,"title":"黑色+165/S","productprice":"298.00","marketprice":"198.00","stock":13},{"id":1529,"title":"白色+180/XL","productprice":"298.00","marketprice":"198.00","stock":16},{"id":1528,"title":"白色+175/L","productprice":"298.00","marketprice":"198.00","stock":10},{"id":1527,"title":"白色+170/M","productprice":"298.00","marketprice":"198.00","stock":16},{"id":1526,"title":"白色+165/S","productprice":"298.00","marketprice":"198.00","stock":13},{"id":1525,"title":"紫色+180/XL","productprice":"298.00","marketprice":"198.00","stock":20},{"id":1524,"title":"紫色+175/L","productprice":"298.00","marketprice":"198.00","stock":19},{"id":1523,"title":"紫色+170/M","productprice":"298.00","marketprice":"198.00","stock":22},{"id":1533,"title":"黑色+180/XL","productprice":"298.00","marketprice":"198.00","stock":14}],"specs":[{"id":407,"title":"易晓衬衫","items":[{"id":1162,"specid":407,"title":"紫色","thumb":"http://og239uizp.bkt.clouddn.com/f0402eac70c95efd92c7466c1d115938.jpg?x-oss-process=style/thumb120x120"},{"id":1163,"specid":407,"title":"白色","thumb":"http://og239uizp.bkt.clouddn.com/ceb92ba1ba3b2c9b8102ee5705a5fe85.jpg?x-oss-process=style/thumb120x120"},{"id":1164,"specid":407,"title":"黑色","thumb":"http://og239uizp.bkt.clouddn.com/50aa680b07a7da53f057ed8cd7edc658.jpg?x-oss-process=style/thumb120x120"}]},{"id":408,"title":"尺寸","items":[{"id":1165,"specid":408,"title":"165/S","thumb":""},{"id":1166,"specid":408,"title":"170/M","thumb":""},{"id":1167,"specid":408,"title":"175/L","thumb":""},{"id":1168,"specid":408,"title":"180/XL","thumb":""}]}]}
     */

    private String code;
    private String msg;
    private Guige_Data data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Guige_Data getData() {
        return data;
    }

    public void setData(Guige_Data data) {
        this.data = data;
    }

    public static class Guige_Data {
        private List<OptionsBean> options;
        private List<SpecsBean> specs;

        public List<OptionsBean> getOptions() {
            return options;
        }

        public void setOptions(List<OptionsBean> options) {
            this.options = options;
        }

        public List<SpecsBean> getSpecs() {
            return specs;
        }

        public void setSpecs(List<SpecsBean> specs) {
            this.specs = specs;
        }

        public static class OptionsBean {
            /**
             * id : 1522
             * title : 紫色+165/S
             * productprice : 298.00
             * marketprice : 198.00
             * stock : 12
             */

            private String id;
            private String title;
            private String marketprice;
            private String stock;
            private String profit;
            private String thumb;
            private String specs;

            public String getThumb() {
                return thumb;
            }

            public void setThumb(String thumb) {
                this.thumb = thumb;
            }

            public String getProfit() {
                return profit;
            }

            public void setProfit(String profit) {
                this.profit = profit;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getSpecs() {
                return specs;
            }

            public void setSpecs(String specs) {
                this.specs = specs;
            }

            public String getMarketprice() {
                return marketprice;
            }

            public void setMarketprice(String marketprice) {
                this.marketprice = marketprice;
            }

            public String getStock() {
                return stock;
            }

            public void setStock(String stock) {
                this.stock = stock;
            }
        }

        public static class SpecsBean {
            /**
             * id : 407
             * title : 易晓衬衫
             * items : [{"id":1162,"specid":407,"title":"紫色","thumb":"http://og239uizp.bkt.clouddn.com/f0402eac70c95efd92c7466c1d115938.jpg?x-oss-process=style/thumb120x120"},{"id":1163,"specid":407,"title":"白色","thumb":"http://og239uizp.bkt.clouddn.com/ceb92ba1ba3b2c9b8102ee5705a5fe85.jpg?x-oss-process=style/thumb120x120"},{"id":1164,"specid":407,"title":"黑色","thumb":"http://og239uizp.bkt.clouddn.com/50aa680b07a7da53f057ed8cd7edc658.jpg?x-oss-process=style/thumb120x120"}]
             */

            private String id;
            private String title;
            private List<ItemsBean> items;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public List<ItemsBean> getItems() {
                return items;
            }

            public void setItems(List<ItemsBean> items) {
                this.items = items;
            }

            public static class ItemsBean {
                /**
                 * id : 1162
                 * specid : 407
                 * title : 紫色
                 * thumb : http://og239uizp.bkt.clouddn.com/f0402eac70c95efd92c7466c1d115938.jpg?x-oss-process=style/thumb120x120
                 */

                private int id;
                private String specid;
                private String title;
                private String thumb;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public String getSpecid() {
                    return specid;
                }

                public void setSpecid(String specid) {
                    this.specid = specid;
                }

                public String getTitle() {
                    return title;
                }

                public void setTitle(String title) {
                    this.title = title;
                }

                public String getThumb() {
                    return thumb;
                }

                public void setThumb(String thumb) {
                    this.thumb = thumb;
                }
            }
        }
    }
}
